package ui.activity.home.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.home.biz.NewProductBiz;
import ui.activity.home.contract.NewProductContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class NewProductModule {
    private NewProductContract.View view;

    public NewProductModule(NewProductContract.View view) {
        this.view = view;
    }

    @Provides
    public NewProductContract.View provideView() {
        return view;
    }

    @Provides
    public NewProductBiz provideBiz() {
        return new NewProductBiz();
    }
}